home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / ddx / sprite.X11R3 / hdr / pr_line.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-03  |  923 b   |  54 lines

  1. /*    @(#)pr_line.h 1.15 88/02/08 SMI    */
  2.  
  3. /* 
  4.  * Copyright 1986 by Sun Microsystems, Inc.
  5.  */
  6.  
  7.  
  8. #ifndef pr_line_h_DEFINED
  9. #define pr_line_h_DEFINED 
  10.  
  11. #define POLY_CLOSE    ((u_char *) 1)    
  12. #define POLY_DONTCLOSE    ((u_char *) 0)
  13.  
  14. extern short pr_tex_dotted[]; 
  15. extern short pr_tex_dashed[]; 
  16. extern short pr_tex_dashdot[]; 
  17. extern short pr_tex_dashdotdotted[];
  18. extern short pr_tex_longdashed[]; 
  19.  
  20.  
  21. typedef 
  22.     struct pr_texture {
  23.     short *pattern;
  24.     short offset;
  25.     struct pr_texture_options {
  26.         unsigned startpoint : 1,
  27.         endpoint : 1,
  28.         balanced : 1, 
  29.         givenpattern : 1,
  30.         res_fat : 1,
  31.         res_poly : 1,
  32.         res_mvlist : 1,
  33.         res_right : 1,
  34.         res_close : 1,
  35.         res_cliprt : 1;
  36.     } options;
  37.     short res_polyoff;
  38.     short res_oldpatln;
  39.     short res_fatoff;
  40.     short *res_patfat;
  41.     short res_numsegs;
  42.     } Pr_texture;
  43.     
  44.     
  45. typedef
  46.     struct pr_brush {
  47.     int width;
  48.     } Pr_brush;
  49.  
  50. #endif pr_line_h_DEFINED 
  51.  
  52.  
  53.  
  54.